<template>
  <div class="case-details project-case">
    <section class="banner">
      <img src="@/assets/banner/home_pic_yj.png">
    </section>

    
    <div class="title">
      <span class="title-text">{{ title }}</span>


      <Breadcrumb separator-class="el-icon-arrow-right" class="breadcrumb">
        <BreadcrumbItem>您的位置：<a href="/index">首页</a></BreadcrumbItem>
        <BreadcrumbItem class="breadcrumb-item">项目案例</BreadcrumbItem>
        <BreadcrumbItem class="breadcrumb-item">{{ title }}</BreadcrumbItem>
      </Breadcrumb>
      
      <div class="title-img">
        <img :src="imgUrl">
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data () {
    return {
      title: '',
      imgUrl: ''
    }
  },
  mounted() {
    this.title = this.$route.query.title
    this.imgUrl = this.$route.query.imgUrl
  },
  methods: {
  }
}
</script>

<style scoped>
.case-details {
  background-color: #F5F5F5;
}
.banner {
  width: 100%;
  max-height: 360px;
  overflow: hidden;
}
.banner img {
  width: 100%;
}
.title {
  position: relative;
  width: 1200px;
  margin: 0 auto;
  margin-top: 34px;
  padding-bottom: 200px;
}
.breadcrumb {
  position: absolute;
  right: 20px;
  top: 10px;
}
.title .title-text {
  font-size: 24px;
  color: rgba(51,51,51,1);
  line-height: 33px;
}
.title-img {
  width: 1200px;
  margin-top: 34px;
}
.title-img img {
  width: 100%;
}
</style>
